<?php

// Depending on the server software use forward of backward slashes

if (stristr("win", $_SERVER["SERVER_SOFTWARE"])) {
            $slash = "\\";
            define('BASE_PATH',		realpath(dirname(__FILE__).'\..\\').'\\');
    } else {
            $slash = "/";
            define('BASE_PATH',		realpath(dirname(__FILE__).'/../').'/');
}

define("PUBLIC_PATH",				BASE_PATH . "httpdocs".$slash);
define("IMAGES_PATH",				PUBLIC_PATH . "images".$slash);
	
define("INCLUDES_PATH",				BASE_PATH . "includes".$slash);

define("ADMIN_PATH",            	INCLUDES_PATH . "admin".$slash);
define("CONFIG_PATH",               INCLUDES_PATH . "config".$slash);
define("HOME_PATH",                 INCLUDES_PATH . "home".$slash);
define("LIB_PATH",                  INCLUDES_PATH . "lib".$slash);
define("STUDENT_PATH",              INCLUDES_PATH . "student".$slash);
define("WERKGEVER_PATH",            INCLUDES_PATH . "werkgever".$slash);

define("BASE_URL",                  "/");
define("IMAGES_URL",				BASE_URL . "img/");

?>
